#pragma once
#include <iostream>
#include <string>
#include <sstream>
#include <fstream>


class WordPack
{
public:
	//WordPack(void);
	//WordPack(std::string fileName, bool write);
	WordPack::WordPack(std::string fileName);
	WordPack::WordPack(std::string fileName,int numPos, int numWord);
	void writeInt(int numWord);
	void writeWord(std::string word);
	//std::stringstream& openStream();
	int getInt();
	std::string getWord();
	void close();
	int getNumWords();
	int getNumPos();
	bool getBin();
	~WordPack(void);
private:
	std::fstream ioFile;
	int numWords;
	int numPos;
	bool isThisBin;
	//std::fstream oFile;
	//std::fstream iFile;
};

